package com.zrf.pojo;

/**
 * Detail entity. @author MyEclipse Persistence Tools
 */

public class Detail implements java.io.Serializable {

	// Fields

	private Integer did;
	private User userByUid;
	private User userByMid;
	private Double income;
	private Double pay;

	// Constructors

	/** default constructor */
	public Detail() {
	}

	/** minimal constructor */
	public Detail(Integer did) {
		this.did = did;
	}

	/** full constructor */
	public Detail(Integer did, User userByUid, User userByMid, Double income,
			Double pay) {
		this.did = did;
		this.userByUid = userByUid;
		this.userByMid = userByMid;
		this.income = income;
		this.pay = pay;
	}

	// Property accessors

	public Integer getDid() {
		return this.did;
	}

	public void setDid(Integer did) {
		this.did = did;
	}

	public User getUserByUid() {
		return this.userByUid;
	}

	public void setUserByUid(User userByUid) {
		this.userByUid = userByUid;
	}

	public User getUserByMid() {
		return this.userByMid;
	}

	public void setUserByMid(User userByMid) {
		this.userByMid = userByMid;
	}

	public Double getIncome() {
		return this.income;
	}

	public void setIncome(Double income) {
		this.income = income;
	}

	public Double getPay() {
		return this.pay;
	}

	public void setPay(Double pay) {
		this.pay = pay;
	}

}